package de.greenrobot.daoexample.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by squall on 2015/9/8.
 */
public class SearchContent implements Serializable {
    private String ouid;
    private String otype;
    private String otype_data;
    private String ouname;
    private String character;
    private String cp_id;
    private String ctime;
    private int ding_num;
    private boolean have_ding;
    private boolean have_tuijian;
    private boolean hide_admin;
    private String img_src;
    private int pic_num;
    private String plain;
    private int reply_count;
    private String rp_id;
    private String title;
    private String type;
    private String wid;
    private String work;
    private Groip group;
    private String content;
    private String dp_id;
    private String post_id;
    private String wp_id;
    private int sex;
    private String uname;
    private String followstate = "unfollow";
    private String self_intro;
    private List<Role> roles = new ArrayList<Role>();
    private String uid;
    private String ud_id;
    private String avatar;
    private List<TagDetail> tags = new ArrayList<>();
    private List<Multi> multi = new ArrayList<>();
    private List<Timeline> gridTimeline = new ArrayList<>();
    private List<SearchContent> circleContents = new ArrayList<>();
    private List<SearchContent> userContents = new ArrayList<>();
    private AcgItem acgItem = new AcgItem();
    private TagItem tagItem = new TagItem();
    private String title_num_format;
    private Timeline timeline = new Timeline();
    private int is_error;
    private boolean is_show;

    public SearchContent() {
    }

    public SearchContent(AcgItem acgItem) {
        this.acgItem = acgItem;
        this.otype = "work";
        this.otype_data = "post";

    }

    public SearchContent(TagItem tagItem) {
        this.tagItem = tagItem;
        this.otype = "tag";
        this.otype_data = "post";
    }

    public SearchContent(Timeline timeline) {
        this.timeline = timeline;
        this.otype = "content";
        this.otype_data = "post";
    }

    public int getIs_error() {
        return is_error;
    }

    public void setIs_error(int is_error) {
        this.is_error = is_error;
    }

    public Timeline getTimeline() {
        return timeline;
    }

    public void setTimeline(Timeline timeline) {
        this.timeline = timeline;
    }

    public String getOuid() {
        return ouid;
    }

    public String getOtype() {
        return otype;
    }

    public String getOtype_data() {
        return otype_data;
    }

    public String getOuname() {
        return ouname;
    }

    public String getCharacter() {
        return character;
    }

    public String getCp_id() {
        return cp_id;
    }

    public String getCtime() {
        return ctime;
    }

    public int getDing_num() {
        return ding_num;
    }

    public boolean isHave_ding() {
        return have_ding;
    }

    public boolean isHave_tuijian() {
        return have_tuijian;
    }

    public boolean isHide_admin() {
        return hide_admin;
    }

    public String getImg_src() {
        return img_src;
    }

    public int getPic_num() {
        return pic_num;
    }

    public String getPlain() {
        return plain;
    }

    public int getReply_count() {
        return reply_count;
    }

    public String getRp_id() {
        return rp_id;
    }

    public String getTitle() {
        return title;
    }

    public String getType() {
        return type;
    }

    public String getWid() {
        return wid;
    }

    public String getWork() {
        return work;
    }

    public List<TagDetail> getTags() {
        return tags;
    }

    public List<Multi> getMulti() {
        return multi;
    }

    public Groip getGroup() {
        return group;
    }

    public String getContent() {
        return content;
    }

    public String getDp_id() {
        return dp_id;
    }

    public String getPost_id() {
        return post_id;
    }

    public String getWp_id() {
        return wp_id;
    }

    public int getSex() {
        return sex;
    }

    public String getUname() {
        return uname;
    }

    public String getFollowstate() {
        return followstate;
    }

    public String getSelf_intro() {
        return self_intro;
    }

    public List<Role> getRoles() {
        return roles;
    }

    public String getUid() {
        return uid;
    }

    public String getUd_id() {
        return ud_id;
    }

    public String getAvatar() {
        return avatar;
    }

    public AcgItem getAcgItem() {
        return acgItem;
    }

    public TagItem getTagItem() {
        return tagItem;
    }

    public String getTitle_num_format() {
        return title_num_format;
    }

    public void setOuid(String ouid) {
        this.ouid = ouid;
    }

    public void setOtype(String otype) {
        this.otype = otype;
    }

    public void setOtype_data(String otype_data) {
        this.otype_data = otype_data;
    }

    public void setOuname(String ouname) {
        this.ouname = ouname;
    }

    public void setCharacter(String character) {
        this.character = character;
    }

    public void setCp_id(String cp_id) {
        this.cp_id = cp_id;
    }

    public void setCtime(String ctime) {
        this.ctime = ctime;
    }

    public void setDing_num(int ding_num) {
        this.ding_num = ding_num;
    }

    public void setHave_ding(boolean have_ding) {
        this.have_ding = have_ding;
    }

    public void setHave_tuijian(boolean have_tuijian) {
        this.have_tuijian = have_tuijian;
    }

    public void setHide_admin(boolean hide_admin) {
        this.hide_admin = hide_admin;
    }

    public void setImg_src(String img_src) {
        this.img_src = img_src;
    }

    public void setPic_num(int pic_num) {
        this.pic_num = pic_num;
    }

    public void setPlain(String plain) {
        this.plain = plain;
    }

    public void setReply_count(int reply_count) {
        this.reply_count = reply_count;
    }

    public void setRp_id(String rp_id) {
        this.rp_id = rp_id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setWid(String wid) {
        this.wid = wid;
    }

    public void setWork(String work) {
        this.work = work;
    }

    public void setTags(List<TagDetail> tags) {
        this.tags = tags;
    }

    public void setMulti(List<Multi> multi) {
        this.multi = multi;
    }

    public void setGroup(Groip group) {
        this.group = group;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setDp_id(String dp_id) {
        this.dp_id = dp_id;
    }

    public void setPost_id(String post_id) {
        this.post_id = post_id;
    }

    public void setWp_id(String wp_id) {
        this.wp_id = wp_id;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public void setFollowstate(String followstate) {
        this.followstate = followstate;
    }

    public void setSelf_intro(String self_intro) {
        this.self_intro = self_intro;
    }

    public void setRoles(List<Role> roles) {
        this.roles = roles;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public void setUd_id(String ud_id) {
        this.ud_id = ud_id;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public void setAcgItem(AcgItem acgItem) {
        this.acgItem = acgItem;
    }

    public void setTagItem(TagItem tagItem) {
        this.tagItem = tagItem;
    }

    public void setTitle_num_format(String title_num_format) {
        this.title_num_format = title_num_format;
    }

    public List<Timeline> getGridTimeline() {
        return gridTimeline;
    }

    public void setGridTimeline(List<Timeline> gridTimeline) {
        this.gridTimeline = gridTimeline;
    }

    public List<SearchContent> getCircleContents() {
        return circleContents;
    }

    public void setCircleContents(List<SearchContent> circleContents) {
        this.circleContents = circleContents;
    }

    public List<SearchContent> getUserContents() {
        return userContents;
    }

    public void setUserContents(List<SearchContent> userContents) {
        this.userContents = userContents;
    }

    public boolean is_show() {
        return is_show;
    }

    public void setIs_show(boolean is_show) {
        this.is_show = is_show;
    }
}

